package com.yonyou.pmclouds.trialinfo.mapper;

import com.yonyou.pmclouds.basecom.cache.RedisCache;
import com.yonyou.pmclouds.basecom.dao.BaseMapper;
import com.yonyou.pmclouds.trialinfo.entity.TrialInfoVO;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TrialInfoMapper extends BaseMapper<TrialInfoVO> {

    TrialInfoVO[] queryTrialInfoList(@Param("billstatus") Byte billstatus,
                                     @Param("start") int start,
                                     @Param("size") int size);

    int countTrialInfo(@Param("billstatus") Byte billstatus);

    List<TrialInfoVO> queryTrialInfoByPeriod(@Param("beginDate") String beginDate,
                                             @Param("endDate") String endDate);
}
